package com.ysm.freestyle.model

import androidx.databinding.BaseObservable
import androidx.databinding.Bindable
import androidx.databinding.ObservableField
import com.ysm.freestyle.BR

class User() : BaseObservable() {
    @Bindable
    var name:String = ""
        get() {
            return field
        }
        set(value) {
            field = value
            notifyPropertyChanged(BR.name)
        }

    var psw = ObservableField<String>("")
}